Show how to get credentials from service mgmt page.
In [6]:
service_name='REPLACE_WITH_SERVICE_NAME'
In [7]:
credentials=REPLACE_WITH_CREDENTIALS
In [8]:
vs={'streaming-analytics': [{'name': service_name, 'credentials': credentials}]}
In [9]:
import json
with open('vcap_services.json', 'w') as outfile:
json.dump(vs, outfile)